/*
 * CWinMsg.h
 *
 *  Created on: 2012-1-26
 *      Author: Administrator
 */

#ifndef CWINMSG_H_
#define CWINMSG_H_

#pragma once

class CWinMsg {
private:
	static map<unsigned int, CWinMsg> msgTypeLib = new map<unsigned int, CWinMsg>();
	void* hwin;
	unsigned int type;
	unsigned int wparam;
	unsigned int lparam;
public:
	CWinMsg(void* hwin, unsigned int type, unsigned int wparam, unsigned int lparam);
	virtual ~CWinMsg();
	virtual long handle();
	CWinMsg clone(CWinMsg msg);
};

#endif /* CWINMSG_H_ */
